//
//  GWFootView.m
//  新浪微博
//
//  Created by qianfeng on 16/1/15.
//  Copyright (c) 2016年 高炜. All rights reserved.
//

#import "GWFootView.h"
@interface GWFootView()
@property (weak, nonatomic) IBOutlet UILabel *footLabel;
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *activityView;

@end
@implementation GWFootView
+(id)footer
{
    return [[[NSBundle mainBundle]loadNibNamed:@"GWFootView" owner:nil options:nil]lastObject];
}
-(void)beginFresh
{
    self.footLabel.text =@"正在拼命加载数据...";
    [self.activityView startAnimating];
    self.Refreshing =YES;
}
-(void)endFresh
{
    self.footLabel.text =@"上拉加载更多数据";
    [self.activityView stopAnimating];
    self.Refreshing =NO;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
